package com.wdm.sms.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.wdm.sms.entity.common.base.BaseEntity;
import com.wdm.sms.entity.common.base.BasePO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wudaiming
 * @since 2023-03-03
 */
@Data
//@Builder //可以通过链式调用的方式为User的属性赋值
@EqualsAndHashCode(callSuper = false)
@TableName("user")
public class User extends BasePO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 姓名
     */
    @TableField("name")
    private String name;

    @TableField("password")
    private String password;

    @TableField("phone")
    private String phone;

    @TableField("residence")
    private String residence;

    @TableField("website")
    private String website;
    /**
     * 年龄
     */
    @TableField("age")
    private Integer age;

    /**
     * 邮箱
     */
    @TableField("email")
    private String email;

    /**
     * 部门
     */
    @TableField("dept")
    private String dept;

    /**
     * 职务
     */
    @TableField("role")
    private String role;
}
